home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 October: Mac OS SDK / Dev.CD Oct 00 SDK1.toast / Development Kits / Mac OS / Thread Manager / Sample Applications / 68k Examples / Dining Philos (THINK⁄MPW) / Globals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-17  |  625 b   |  26 lines  |  [TEXT/MPS ]

  1. #ifndef __THREADUTIL__
  2. #include <ThreadUtil.h>
  3. #endif
  4.  
  5. #ifndef __QDOFFSCREEN__
  6. #include <QDOffscreen.h>
  7. #endif
  8.  
  9. /***********************************************************************************
  10. **
  11. ** Used in the event loop (events.c) 
  12. */
  13. extern short gDone;
  14. extern short gInBackground;
  15.  
  16.  
  17. /***********************************************************************************
  18. **
  19. ** App specific globals
  20. */
  21. extern philoRecord             gPhilosophizer[kNumOfPhilosophizers];
  22. extern CIconHandle             gNoForkIcon, gLeftForkIcon, gBothForksIcon;
  23. extern SimpleSemaphorePtr    gForks[kNumOfPhilosophizers];
  24. extern GWorldPtr            gOffscreenWorld;
  25.  
  26.